/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.ejb.persistence;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Embeddable;

/**
 *
 * @author Julien
 */
@Embeddable
public class UserAuthentication implements Serializable {
    
    @Column(name="Login")
    private String login;
    
    @Column(name="Password")
    private String password;

    public String getLogin() {
        return login;
    }

    public void setLogin(String login) {
        this.login = login;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
    
    public UserAuthentication(){
        
    }
    
    public UserAuthentication(String login){
        this.login = login;
    }
    
    public UserAuthentication(String login, String password){
        this.login = login;
        this.password = password;
    }   
    
    
}
